#pragma once
#include "Common.h"
#include "Shader.h"
#include <gl\glew.h>
#include "IPipelineBindable.h"
#include "Resource.h"


class EXPORT Program : public IPipelineBindable , public Resource
{
	GLuint program;
public:
	Program(void);
	~Program(void);
	
	void Bind();
	void Unbind();
	void Dispose();

	void AttachShader(GLuint shader);
	void LinkShaders();

	int GetUniformLocation(const char * name);
};

